import request from '@/utils/request'

// 查询处理员工列表
export function listStaffHanding(query) {
  return request({
    url: '/staffHanding/staffHanding/list',
    method: 'get',
    params: query
  })
}

// 查询处理员工详细
export function getStaffHanding(staffHandingId) {
  return request({
    url: '/staffHanding/staffHanding/' + staffHandingId,
    method: 'get'
  })
}

// 新增处理员工
export function addStaffHanding(data) {
  return request({
    url: '/staffHanding/staffHanding',
    method: 'post',
    data: data
  })
}

// 修改处理员工
export function updateStaffHanding(data) {
  return request({
    url: '/staffHanding/staffHanding',
    method: 'put',
    data: data
  })
}

// 删除处理员工
export function delStaffHanding(staffHandingId) {
  return request({
    url: '/staffHanding/staffHanding/' + staffHandingId,
    method: 'delete'
  })
}
